from pyppeteer_crawl_xmob import xmob
from crawl_toutiao import crawl_toutiao
from pyppeteer_crawl_baidu import zhiwei
from pyppeteer_crawl_baidu import zhiweiys
from pyppeteer_crawl_tuia import tuia
from cpa_select_insert import cpa
import datetime
import subprocess
from aiohttp_post_baidu import xinpu,xinpuys
from concurrent.futures import ProcessPoolExecutor


today = datetime.datetime.now().strftime('%Y-%m-%d')
print("#"*180,today,"start")
print("#"*180,today,"start")
print("#"*180,today,"start")
# cpa
print("\t\t", today, "&&&&&&&&&-----------cpa")
cpa()

# 百度
print("\t\t", today, "&&&&&&&&&-----------baidu")
xinpu()
xinpuys()
zhiwei()
zhiweiys()

# xmob
print("\t\t", today, "&&&&&&&&&-----------xmob")
xmob()

#推啊
print("\t\t", today, "&&&&&&&&&-----------tuia")
tuia()

# 头条
print("\t\t", today, "&&&&&&&&&-----------toutiao")
crawl_toutiao().exec_login_crawl()
print("#"*180,today,"end")
print("#"*180,today,"end")
print("#"*180,today,"end")
